﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Achievement.aspx.cs" Inherits="RLAWEB.Achievement" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <style type="text/css">
        table {
            border: 1px solid #ff8c00;
            background-color: #d3d3d3;
            margin-bottom: 5px;
            width: 500px;
        }

        .info {
            width: 150px;
            padding: 3px;
            font-weight: bold;
            vertical-align: top;
        }

        .button {
            float: right;
            margin: 5px;
        }
    </style>

    <h2>
        <asp:Label ID="lbPageTitle" runat="server" Text=""></asp:Label>
    </h2>

    <table id="tableAchievement" runat="server">
        <tr>
            <td class="info">Beskrivelse</td>
            <td>
                <asp:Label ID="lbDescription" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="info">Kategori</td>
            <td>
                <asp:Label ID="lbCategory" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="info">Nøgleord</td>
            <td>
                <asp:Label ID="lbTags" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="info">Overordnet status</td>
            <td>
                <asp:Label ID="lbStatus" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="info">Min status</td>
            <td>
                <asp:Label ID="lblMyStatus" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="info"></td>
            <td>
                <asp:Button CssClass="button" ID="btnRight" runat="server" Text="Acceptér" OnClick="btnRight_Click" />
                <asp:Button CssClass="button" ID="btnCenter" runat="server" Text="Afslå" />
                <asp:Button CssClass="button" ID="btnLeft" runat="server" Text="Tilbage" OnClick="btnLeft_Click" />
            </td>
        </tr>
    </table>

    <h3>
        <asp:Label runat="server" ID="lbParticipantHeader">Deltagere</asp:Label></h3>
    <asp:Repeater ID="ParticipantList" runat="server">
        <ItemTemplate>
            <table>
                <tr>
                    <td class="info">Navn</td>
                    <td>
                        <asp:Label ID="lbParticipantName" runat="server" Text='<%# Eval("FirstName") + "&nbsp" +Eval("LastName") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="info">Profilnavn</td>
                    <td>
                        <asp:Label ID="lbParticipantProfileName" runat="server" Text='<%# Eval("ProfileName") %>'></asp:Label>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>